/**
 * A Goblin figure. extends unit.
 * @authors Itay Sorani, Nadav Ziv, Yonathan Zarsky
 */
package com.example.models.Units;
import android.content.Context;

import com.example.models.Unit;

public class Goblin extends Unit {

	private static final int GOBLIN_HIT_POINTS = 25;
	private static final float GOBLIN_VELOCITY = 3;
	private static final String GOBLIN_NAME = "Goblin";
	private static final int GOBLIN_HEIGHT = 30;
	private static final int GOBLIN_WIDTH = 30;
	
	/**
     * Constructs a new Goblin according to hit points, velocity, name, texture height and texture width.
     */
	public Goblin(Context context) {
		super(context);
		setHitPoints(GOBLIN_HIT_POINTS);
		setInitialHitPoints(GOBLIN_HIT_POINTS);
		setVelocity(GOBLIN_VELOCITY / 40);
		setName(GOBLIN_NAME);
		setHeight(GOBLIN_HEIGHT);
		setWidth(GOBLIN_WIDTH);
	}

}
